<?php 
$product=$this->product; 
 if(!empty($product))
{
?>		
		
		<div class="container">		
				<ul class="breadcrumb">
					<li><a href="index.php">Home</a> <span class="divider">/</span></li>
					<li class="active"><strong>Product Detail:</strong> <em><?php echo $product['name']; ?></em></li>
		  		</ul>
		    <div class="row-fluid"> 
		    		<div class="span1">
		    			<ul class="thumbnails small">								
							<li class="span12">
								<a href="static/<?php echo $product['image']?>" class="thumbnail" data-fancybox-group="group1" title="Description 2"><img src="static/<?php echo $product['image']?>" alt=""></a>
							</li>
						</ul>
				</div>			
  				<div class="span5">
						<a href="static/<?php echo $product['image']?>" class="thumbnail" title="Description 1"><img alt="" src="static/<?php echo $product['image']?>" id="zoom1" data-zoom-image="static/<?php echo $product['image']?>"></a>	<h6>Scroll over image to zoom</h6>											
						
						
				</div>
				
				<div class="span6">
						<div class="span12">
							<h1 class="text-info"><?php echo html_entity_decode($product['name']); ?></h1>
							<p><?php echo html_entity_decode($product['desc']); ?></p>
							<table class="table table-striped shop_attributes">	
							<tbody>
								<tr class="">
									<th>Brand</th>
									<td>delisa</td>
								</tr>		
								<tr class="alt">
									<th>SKU</th>
									<td><?php echo $product['sku']?></td>
								</tr>
							</tbody>
							</table>	
						</div>
						<div class="span12 well">
							<form class="form-inline" action="cart.php">
							<h5>SELECT SIZE (EURO)</h5>
							<p>
							<label class="radio inline">
								<input type="radio" name="pid" id="" value="<?php echo $product['bo']->getID() ?>" ><a href="#" data-toggle="tooltip" title="<?php echo $product['bo']->getCA('SIZE_UK') ?>"><span class="badge badge-info"><?php echo $product['bo']->getSize() ?></span></a>
							</label>			
							<?php foreach($product['bo']->getVariationBOs() as $k => $pv)
								{ if($pv->isOnline()){
							?>
							<label class="radio inline">
								<input type="radio" name="pid" id="" value="<?php echo $pv->getID() ?>" ><a href="#" data-toggle="tooltip" title="<?php echo $pv->getCA('SIZE_UK') ?>"><span class="badge badge-info"><?php echo $pv->getSize() ?></span></a>
							</label>			
							<?php
								}}
							?>
							</p>
							<h4><span class="strike text-warning">INR <?php echo $product['price']?></span>&nbsp;
							  	<span class="text-error"><strong>INR <?php echo $product['saleprice']?></strong></span>
							 </h4>
							
								<strong>QTY.</strong><input type="text" class="span1" placeholder="1">
								<button class="btn btn-inverse" name="action" value="add" type="submit"><i class="icon-shopping-cart icon-white"></i>Buy</button>
							</form>
						</div>						
			  </div>
			  </div>
			 <div class="row-fluid">
			<div class="span12 well">
				<ul class="nav nav-tabs" id="myTab">
					<li class="active"><a href="#home">Description</a></li>
					<li class=""><a href="#profile">Additional Information</a></li>
				</ul>							 
				<div class="tab-content">
					<div class="tab-pane active" id="home">
					    <div class="media span7">
						    <a class="pull-left" href="#">
						    <img class="media-object" src="static/themes/images/womens-footwear.jpg">
						    </a>
						    <div class="media-body">
						    <h4 class="media-heading">How to measure</h4>
						 	To measure your feet stand on a level floor with the back of your heels against a straight edge or wall
						     
						    <!-- Nested media object -->
						    <div class="media">
						        <div class="media-body">
						   		 <h5 class="media-heading">1. Foot Length</h5>
						   		  Measure your foot length by placing a ruler flat on the floor straight alongside the inside of your foot from your heal to your toes.   Place an object with a flat edge straight across your toes with the edge touching the tip of your longest toe. Take the measurement (in millimeters) from the ruler where the flat edge crosses (see image below). This is your foot length measurement.
						   		  <h5 class="media-heading">2. Selecting a shoe size</h5>
						   		  If your foot measurement is halfway between sizes, select the larger size.
    You may find one foot is longer than the other, this is quite normal, please use the larger size when making your shoe size selection.
						    </div>
						    </div>
						    </div>
					</div>
					<div class="media span5"><img class="media-object" src="static/themes/images/shoe-size-chart.png"></div>





   

 

    
					</div>
					<div class="tab-pane" id="profile">
						
					</div>
				</div>							
			</div>
			 
		</div>
			
		</div>
	<?php 
	}
	else
	{
	?>
		<div class="container">
				    <div class="alert alert-error">
				    		Sorry... No product is defined to this url.
				    </div>
		</div>
	<?php
	}
	?>	
	